﻿using PLCS.Application.Contracts.EquipmentApp.Dtos;
using PLCS.Application.Contracts.HisTaskApp.Dtos;
using Volo.Abp.Application.Dtos;

namespace PLCS.Client.IService.EquipmentManager;

public interface IEquipmentService : IBaseService<EquipmentDto, EquipmentEditDto>
{
    Task CreateEquipmentListAsync(IEnumerable<EquipmentEditDto> equipments);

    Task<PagedResultDto<EquipmentDto>> GetListBySearchAsync(int skipCount, int maxResultCount, string? equipmentNo, string? equipmentType);

    Task<EquipmentDto> GetByEquipmentNoAsync(string equipmentNo);

    Task DeleteAllAsync();
}